<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>js数组删除</title>
		<script>
		 var ar=["你好","大家","凯旋","照耀","nanan"];
		 ar.sort();
		 alert(ar.join("#"));
		 ar.shift();
		 alert(ar.join("#"));
		 var a2=["dog","Cat","snake","pig"];
		 a3=ar.concat(a2);
		 alert(a3);
		 //a3.forEach(console.log);
		 for(x in a3){
			 alert(x+"="+a3[x]);
		 }
		</script>
	</head>
	<body>
	</body>
</html>
